<?php

class Are
{
    /**
     * @param string $expected
     * @param string $actual
     * @return boolean
     */
    public static function HtmlCodeEquals($expected, $actual)
    {
        return
            str_replace("\n", '', str_replace(' ', '', $expected)) ==
            str_replace("\n", '', str_replace(' ', '', $actual));
    }
}

?>